package com.shenhan.functioninterface;

import java.util.function.Predicate;

/**
 * @Author shenhan
 * @Date: 2020/6/11 21:22
 * @Description:
 */
public class PredicateDemo {
    public static void main(String[] args) {
        Predicate<String> predicate = String::isEmpty;
        System.out.println(predicate.test(""));
    }
}
